import request from '@/utils/request'
export const reqSkuList = (page, limit) => request({
  method: 'get',
  url: `/admin/product/list/${page}/${limit}`
})
// 商品上架下架
export const reqSale = (skuId) => request({
  method: 'get',
  url: `/admin/product/onSale/${skuId}`
})
// 下架
export const reqDownSale = (skuId) => request({
  method: 'get',
  url: `/admin/product/cancelSale/${skuId}`
})
// 获取sku

export const reqgetSku = (skuId) => request({
  method: 'get',
  url: `/admin/product/getSkuById/${skuId}`
})
